﻿namespace ufida.u9.ait.openapi
{
	using System;
	using System.Collections.Generic;
	using System.Text;
    using ufida.u9.ait.openapi.utils;
    using UFIDA.U9.CBO.Pub.Controller;
    using UFIDA.U9.InvDoc.MiscShip;
    using UFIDA.U9.ISV.MiscShipISV.Proxy;
    using UFSoft.UBF.AopFrame;
    using UFSoft.UBF.Business;
    using UFSoft.UBF.Transactions;
    using UFSoft.UBF.Util.Context;

	/// <summary>
	/// MiscShipmentSaveSV partial 
	/// </summary>	
	public partial class MiscShipmentSaveSV 
	{	
		internal BaseStrategy Select()
		{
			return new MiscShipmentSaveSVImpementStrategy();	
		}		
	}

	#region  implement strategy	
	/// <summary>
	/// Impement Implement
	/// 
	/// </summary>	
	internal partial class MiscShipmentSaveSVImpementStrategy : BaseStrategy
	{
		public MiscShipmentSaveSVImpementStrategy() { }

		public override object Do(object obj)
		{
			MiscShipmentSaveSV bpObj = (MiscShipmentSaveSV)obj;

			return CodeUtils.DocSaveRT(bpObj, bpObj.Data, MiscShipBase.CreateDoc, MiscShipBase.ApproveDoc);
			
		}
	}

	#endregion
	
	
}